home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cracker's Matrix
/
Cracker's Matrix (nCite Software).iso
/
Examples
/
Data
/
ckSL_0018.txt
< prev
next >
Wrap
Text File
|
2003-01-06
|
3KB
|
59 lines
Tutorial for Dettens Crackme 8
This shows only one way of solving it .. and maybe not the best.. (but anyway)
First load it into W32dasm and look at the String refs..
There you see something like registered(what you wanna get) and some reference to a file you dont have called crackme8.dat.
So most probably you have to create this file.
We create an empty text file with that name.
We look further into the crackme and if you go to the string ref "Registered and scoll up a bit you see this):
* Reference To: KERNEL32.CloseHandle, Ord:0019h
|
:004010FE E857020000 Call 0040135A
:00401103 8B1D88304000 mov ebx, dword ptr [00403088]
:00401109 03C3 add eax, ebx
:0040110B 33D8 xor ebx, eax
:0040110D 3BC3 cmp eax, ebx
:0040110F E98C000000 jmp 004011A0 <-----(1) uncond. jump so he jumps no matter what
:00401114 33DB xor ebx, ebx
:00401116 668B1D0F114000 mov bx, word ptr [0040110F]
:0040111D 668B0D56124000 mov cx, word ptr [00401256]
:00401124 66A13B104000 mov ax, word ptr [0040103B]
:0040112A 66030551114000 add ax, word ptr [00401151]
:00401131 66330D56114000 xor cx, word ptr [00401156]
:00401138 66031D58114000 add bx, word ptr [00401158]
:0040113F 662B0D62114000 sub cx, word ptr [00401162]
:00401146 6633D9 xor bx, cx
:00401149 6681C3ADDE add bx, DEAD
:0040114E 6633D8 xor bx, ax
:00401151 6681FB380C cmp bx, 0C38
:00401156 7548 jne 004011A0 <------(2) cond. jump
:00401158 668B151C134000 mov dx, word ptr [0040131C]
:0040115F 663BDA cmp bx, dx
:00401162 753C jne 004011A0 <------(3) cond. jump
* Possible StringData Ref from Data Obj ->"REGISTERED !" <------(4)
|
:00401164 6820304000 push 00403020
* Possible Reference to Dialog: MYDIALOG, CONTROL_ID:0BBA, "-->> Unregistered <<--"
|
:00401169 68BA0B0000 push 00000BBA
:0040116E FF7508 push [ebp+08]
* Reference To: USER32.SetDlgItemTextA, Ord:0228h
|
:00401171 E8DE010000 Call 00401354
So look at the unconditional jumps(1).. it jumps all the time so we never reach the place where he says registered (4).
To avoid the jump we start Hview and NOP it.
Next we see some compares and conditional jumps (2,3).
To prevent them from jumping change both to NOP (90 hex) After this we start the crackme.
It says Registered but NO Name and NO Serial. Just try to enter some Name into the file(crackme8.dat)(.
Now restart it and you are finished